package com.community.pojo;

import java.util.Date;

public class AnswerAdopt {
    private Integer id;

    private Integer qid;

    private Integer answerId;

    private String adoptUser;

    private Double adoptMoeny;

    private Date createTime;

    private Date updateTime;

    public AnswerAdopt(Integer id, Integer qid, Integer answerId, String adoptUser, Double adoptMoeny, Date createTime, Date updateTime) {
        this.id = id;
        this.qid = qid;
        this.answerId = answerId;
        this.adoptUser = adoptUser;
        this.adoptMoeny = adoptMoeny;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public AnswerAdopt() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQid() {
        return qid;
    }

    public void setQid(Integer qid) {
        this.qid = qid;
    }

    public Integer getAnswerId() {
        return answerId;
    }

    public void setAnswerId(Integer answerId) {
        this.answerId = answerId;
    }

    public String getAdoptUser() {
        return adoptUser;
    }

    public void setAdoptUser(String adoptUser) {
        this.adoptUser = adoptUser == null ? null : adoptUser.trim();
    }

    public Double getAdoptMoeny() {
        return adoptMoeny;
    }

    public void setAdoptMoeny(Double adoptMoeny) {
        this.adoptMoeny = adoptMoeny;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}